package com.sf.dlb.mongo.model;

import java.util.Date;

/**
 * 游客阅读记录表 Entity
 *
 * Created by jing.tan on 2018/5/21.
 */
public class VisitorRecord extends BaseMongoEntity {
    /*
      `visitor_id` varchar(64) DEFAULT NULL COMMENT '游客id',
      `read_id` varchar(64) DEFAULT NULL COMMENT '阅读id',
      `read_type` char(1) DEFAULT NULL COMMENT '阅读类别(1=新闻，2=视频，3=帖子)',
      `news_class_id` varchar(64) DEFAULT NULL COMMENT '新闻分类id',
      `news_class_name` varchar(64) DEFAULT NULL COMMENT '新闻分类名称',
      `start_time` datetime DEFAULT NULL COMMENT '阅读开始时间',
      `end_time` datetime DEFAULT NULL COMMENT '阅读结束时间',
      `read_time_long` bigint(20) DEFAULT NULL COMMENT '阅读时长(秒)',
	*/

    private static final long serialVersionUID = 1L;
    private Long visitorId;             // 游客ID
    private String readId;                // 阅读id
    private String readType;              // 阅读类别
    private String newsClassId;           // 新闻分类id
    private String newsClassName;         // 新闻分类名称
    private Date startTime;               // 阅读开始时间
    private Date endTime;                 // 阅读结束时间
    private Integer readTimeLong;            // 阅读时长(秒)

    public Long getVisitorId() {
        return visitorId;
    }

    public void setVisitorId(Long visitorId) {
        this.visitorId = visitorId;
    }

    public String getReadId() {
        return readId;
    }

    public void setReadId(String readId) {
        this.readId = readId;
    }

    public String getReadType() {
        return readType;
    }

    public void setReadType(String readType) {
        this.readType = readType;
    }

    public String getNewsClassId() {
        return newsClassId;
    }

    public void setNewsClassId(String newsClassId) {
        this.newsClassId = newsClassId;
    }

    public String getNewsClassName() {
        return newsClassName;
    }

    public void setNewsClassName(String newsClassName) {
        this.newsClassName = newsClassName;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Integer getReadTimeLong() {
        return readTimeLong;
    }

    public void setReadTimeLong(Integer readTimeLong) {
        this.readTimeLong = readTimeLong;
    }
}
